package com.zw.dal.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.zw.dal.dao.UserMapper;
import com.zw.dal.model.UserEntity;
import com.zw.dal.service.UserService;

/**
 * Created by lovez on 2016/11/19.
 */
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    UserMapper userMapper;

    @Override
    public UserEntity query(UserEntity entity) {

        return userMapper.query(entity);
    }

    @Override
    public UserEntity insert(UserEntity entity) {
        return null;
    }

    @Override
    public UserEntity updateById(UserEntity entity) {
        return null;
    }

    @Override
    public UserEntity deleteById(UserEntity entity) {
        return null;
    }
}
